﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;

namespace ProtocolConversion_WINCE
{
    class DateConfig
    {
        //获取台站信息
        public static byte[] stationDate = new byte[] { 0xbf, 0x13, 0x97, 0x74, 0x00, 0x00, 0x00, 0x80, 0x04, 0x00, 0x00, 0x00, 0xfc, 0x7f };

        public static byte[] rtson = new byte[] { 0x52, 0x54, 0x53, 0x20, 0x4f, 0x4e, 0x0d, 0x0a };
        //登陆使能        
        public static byte[] rstaton = new byte[] { 0x52, 0x53, 0x54, 0x41, 0x54, 0x20, 0x4f, 0x4e, 0x0d, 0x0a };
        //用户名
        public static byte[] rootDate = new byte[] { 0x72, 0x6f, 0x6f, 0x74, 0x0d, 0x0a };
        //密码
        public static byte[] secretDate = new byte[] { 0x61, 0x72, 0x63, 0x61, 0x31, 0x30, 0x30, 0x0d, 0x0a };
        //存储空间
        public static byte[] memorySizeDate = new byte[] { 0xbf, 0x13, 0x97, 0x74, 0x00, 0x00, 0x67, 0x80, 0x04, 0x00, 0x00, 0x00, 0x95, 0x7f };
        //电压
        public static byte[] powerPressureDate = new byte[] { 0xbf, 0x13, 0x97, 0x74, 0x00, 0x00, 0x66, 0x80, 0x04, 0x00, 0x00, 0x00, 0x96, 0x7f };
        //GPS
        public static byte[] gpsDate = new byte[] { 0xbf, 0x13, 0x97, 0x74, 0x00, 0x00, 0x65, 0x80, 0x04, 0x00, 0x00, 0x00, 0x97, 0x7f };
        //温度
        public static byte[] tempertureDate = new byte[] { 0xbf, 0x13, 0x97, 0x74, 0x00, 0x00, 0x62, 0x80, 0x04, 0x00, 0x00, 0x00, 0x9a, 0x7f };
        //总信息
        public static byte[] totalDate = new byte[] { 0xbf, 0x13, 0x97, 0x74, 0x00, 0x00, 0x00, 0x80, 0x04, 0x00, 0x00, 0x00, 0xfc, 0x7f, //station
                                               
                                                0xbf, 0x13, 0x97, 0x74, 0x00, 0x00, 0x62, 0x80, 0x04, 0x00, 0x00, 0x00, 0x9a, 0x7f ,//temperature
                                                
                                                0xbf, 0x13, 0x97, 0x74, 0x00, 0x00, 0x67, 0x80, 0x04, 0x00, 0x00, 0x00, 0x95, 0x7f, //memorysize

                                                0xbf, 0x13, 0x97, 0x74, 0x00, 0x00, 0x65, 0x80, 0x04, 0x00, 0x00, 0x00, 0x97, 0x7f };//gps
    }

}
